package org.pt.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@TableName("user_possess") // 指定表名
public class UserPossess implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("work_id")
    private Integer workId;

    @TableField("user_id")
    private Integer userId;

    @TableField("purchase_time")
    private String purchaseTime;

    @TableField("downloaded")
    private Integer downloaded;

    @TableField("uploaded")
    private Integer uploaded;

    @TableField("event")
    private String event;
}
